package com.dynabook.ems.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

import lombok.Data;

/**
 * 
 * @TableName ems_mail_queue
 */
@TableName(value ="ems_mail_queue")
@Data
public class EmsMailQueue implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @TableField(value = "type")
    private String type;

    /**
     * 
     */
    @TableField(value = "main_body")
    private String mainBody;

    /**
     * 
     */
    @TableField(value = "subject")
    private String subject;

    /**
     * 
     */
    @TableField(value = "`from`")
    private String from;

    /**
     * 
     */
    @TableField(value = "`to`")
    private String to;

    /**
     * 
     */
    @TableField(value = "table_data")
    private String tableData;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}